package com.wangp.javase.object_oop.phone;

import org.junit.jupiter.api.Test;

/**
 * <p>
 * 第一行简要描述.
 * </p>
 *
 * @author wangping
 * @since 2024-12-15
 */
public class phoneTest {

    @Test
    public void test01(){
        //创建对象
        Phone phone1 = new Phone();
        phone1.brand="华为mate70";
        phone1.price=9999.99;
        System.out.println("品牌："+phone1.brand+"价格："+ phone1.price);
        phone1.call();
        phone1.sendMessage("dddd");
        phone1.playGame();


    }

}
